using UnityEngine;

namespace GpuHud
{
    public class GpuHudImageStyleAccessor:GpuHudStyleDataAccessor<ImageStyleShaderData>
    {
        public Sprite sprite;
        public GpuHudImageStyleAccessor(IGpuHudStyle<ImageStyleShaderData> data, GpuHudDataAccessor dataAccessor,
            Texture texture = null) : base(data, dataAccessor, texture)
        {
            sprite = ((GpuHudImageStyleAsset) m_Style).sprite;
        }
    }
}